/* 课程模块样式 */
.paper {
    max-width: 800px;
    margin: 2em auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.paper-head {
    padding: 1em;
    border-bottom: 1px solid hsl(306, 40%, 90%);
    margin-bottom: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.paper-head h3 {
    color: hsl(306, 40%, 25%);
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.paper-body {
    padding: 0 1em 1em 1em;
}

/* 按钮样式 - 确保所有按钮都是紫色 */
.btn {
    color: #eee !important;
    background-color: hsl(306, 40%, 25%) !important;
    border-color: hsl(306, 40%, 25%) !important;
    width: fit-content;
    font-weight: bold;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    letter-spacing: 0.1em;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: hsl(306, 40%, 35%) !important;
    border-color: hsl(306, 40%, 35%) !important;
}

.btn:disabled {
    background-color: hsl(306, 40%, 80%) !important;
    border-color: hsl(306, 40%, 80%) !important;
    cursor: not-allowed;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.table th {
    background-color: hsl(306, 40%, 25%);
    color: #fff;
    padding: 0.8em;
    text-align: left;
}

.table td {
    padding: 0.8em;
    border-bottom: 1px solid hsl(306, 40%, 90%);
}

.table tr:hover {
    background-color: hsl(306, 40%, 95%);
}

/* 表单样式 */
form {
    width: 100%;
    max-width: 25em;
    margin: 0 auto;
    padding: 1.5em;
}

form .field {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

form .field > label {
    width: 6em;
    color: hsl(306, 40%, 25%);
    font-weight: 500;
}

form .field input,
form .field select {
    flex: 1;
    padding: 0.4em;
    border: 1px solid hsl(306, 40%, 80%);
    border-radius: 3px;
    color: hsl(306, 40%, 25%);
}

form .field input:focus,
form .field select:focus {
    outline: none;
    border-color: hsl(306, 40%, 40%);
}

/* 按钮组样式 */
.paper-footer {
    margin-top: 1.5em;
    padding: 1em;
    border-top: 1px solid hsl(306, 40%, 90%);
    text-align: center;
}

.paper-footer > .btns {
    display: flex;
    justify-content: center;
    gap: 1em;
} 